using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace CoreEx.Samples.DomainModel
{

	/// <summary>
	/// A class that represents Region.
	/// </summary>
	[Serializable]
	public class Region
	{
		#region Private Members

		private IList<Territory> _territories = new List<Territory>();

		#endregion

		/// <summary>
		/// Gets or sets the Region ID
		/// </summary>
		public virtual int RegionID { get; set; }

		/// <summary>
		/// Gets or sets the Region Description
		/// </summary>
		public virtual string RegionDescription { get; set; }

		/// <summary>
		/// Gets the Territories
		/// </summary>
		public IList<Territory> Territories 
		{
			get { return _territories; }
		}
	}
}
